package com.sys.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

/*
 *   @author:汪思超
 *   @Pojo:订单信息
 *   @data:2021.4.16
 * 
 * */
@Entity
@Getter
@Setter
@Table(name="order_info")
public class OrderInfo  implements Serializable{

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;
	
	@Column(name="uid")
	private Integer uid;
	
	@Column(name="mid")
	private Integer mid;
	
	@Column(name="title")
	private String title;
	
	@Column(name="des")
	private String des;
	
	@Column(name="create_data")
	private Date createData;
	
	@Column(name="state")
	private String state;
	
}
